<table id="balancedetails_table" ref="BalanceDetails" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"brand")||fields=="*"||(!fields && true)}}' tdid="2" ref="brand"   title="品牌">品牌
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"member")||fields=="*"||(!fields && true)}}' tdid="3" ref="member"   title="会员">会员
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"order")||fields=="*"||(!fields && true)}}' tdid="4" ref="order"   title="所属订单">所属订单
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"number")||fields=="*"||(!fields && true)}}' tdid="5" ref="number"   title="消费数量">消费数量
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"products")||fields=="*"||(!fields && true)}}' tdid="6" ref="products"   title="余额产品">余额产品
			 </td>
			<td  width="105"  class="operation" tdid="7" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.id$ || item.id}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"brand")||fields=="*"||(!fields && true)}}' ref="brand" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.brand}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.brand}}')" href="javascript:void(0);">
					 	{{item.brand$ || item.brand}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"member")||fields=="*"||(!fields && true)}}' ref="member" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.member}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/users/member.edit.html?key={{item.member}}')" href="javascript:void(0);">
					 	{{item.member$ || item.member}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"order")||fields=="*"||(!fields && true)}}' ref="order" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.order}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/goods/directorder.edit.html?key={{item.order}}')" href="javascript:void(0);">
					 	{{item.order$ || item.order}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"number")||fields=="*"||(!fields && true)}}' ref="number" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.number$ || item.number}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"products")||fields=="*"||(!fields && true)}}' ref="products" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.products}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/products/product.edit.html?key={{item.products}}')" href="javascript:void(0);">
					 	{{item.products$ || item.products}}</a>
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/products/balancedetails.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/products/balancedetails.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>